create anchor tag dynamically c#

85

create anchor tag dynamically c# -

HtmlAnchor htmlAnchor = new HtmlAnchor();
          htmlAnchor.HRef = "www.google.com";
          htmlAnchor.InnerText = "Click";
          divTest.Controls.Add(htmlAnchor);

Comments

Submit
0 Comments